AmeliaBooking\Application\Services\Notification\AbstractNotificationService D

Total Complexity 218
Dependencies 15
Dependents 0
Total lines 1,246
Lines of code 765
Logical lines of code 365
Comment lines 282
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
sendNextDayReminderNotifications()
C
33 27 92
getUsersInfo()
B
36 19 87
sendAppointmentStatusNotifications()
B
39 19 64
sendBookingAddedNotifications()
B
40 18 59
sendBookingsNotifications()
B
40 17 55
sendAppointmentUpdatedNotifications()
B
43 16 49
sendScheduledNotifications()
A
41 12 54
pastMinimumTimeBeforeBooking()
A
49 12 30
sendAppointmentRescheduleNotifications()
A
46 10 43
checkShouldSend()
A
56 9 15
checkCustom()
S
59 8 14
sendCartNotifications()
S
50 6 33
sendPackageNotifications()
S
49 6 33
sendCustomerBookingNotification()
S
49 6 31
sendDefault()
S
59 7 13
sendProviderBookingNotification()
S
52 6 24
sendProviderEventCancelledNotification()
S
55 5 21
getByNameAndType()
S
62 3 11
invalidateSentScheduledNotifications()
S
59 2 14
getPreparedNotificationData()
S
82 1 3
setSend()
S
81 1 3
addPreparedNotificationData()
S
80 1 3
getType()
S
82 1 3
getSend()
S
82 1 3
getById()
S
75 1 4
sendBirthdayGreetingNotifications()
S
100 1 0
sendNotification()
S
100 1 0
sendPreparedNotifications()
S
100 1 0
__construct()
S
77 1 4